package org.example.service;

import org.example.pojo.DLeave;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.select.DLeaveSelect;
import org.example.utils.Result;

import java.util.List;
import java.util.Map;

/**
* @author chenhongkai
* @description 针对表【d_leave(请假记录表)】的数据库操作Service
* @createDate 2024-08-05 17:06:47
*/
public interface DLeaveService extends IService<DLeave> {

    Result<Map> SelectLeaves(DLeaveSelect dLeaveSelect);

    public Result<Map> AddLeave(List<DLeaveSelect> dLeaveList);

    public Result<Map> DeleteLeave(List<DLeave> dLeaveList);
}
